package cn.bgs.controller;

import cn.bgs.ActivityManagement.service.impl.TestServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class zc {
    @Autowired

    @RequestMapping("/zc")
    public String qq(){
        return "zc";
    }

    @Autowired
    TestServiceImpl testServiceImpl;
    @RequestMapping("/zcc")
    public String ee(){
        System.out.println("-----");
        System.out.println("zcccc"+testServiceImpl.tet(1));
        return "ok";
    }
}
